* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html:not([data-reload]) {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

header{
    height: 80px;
    background-color: #514D39;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-bar{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.number{
    line-height: 45px;
    text-align: center;
    width: 200px;
    height: 45px;
    border-radius: 10px;
    background-color: #0094BD;
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.12s ease;
    user-select: none;
}

.number:active {
    transform: scale(0.95);
}

.nav{
    display: flex;
    gap: 40px;
}

a{
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.social{
    display: flex;
    gap: 30px;
    align-items: center;
}

.social img {
    object-fit: contain;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.main {
    height: 710px;
    background-image: url('исходники/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
    gap: 60px;
    background-color: #2a2a2a;
}

.main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.main > * {
    position: relative;
    z-index: 2;
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title{
    text-align: center;
    font-size: 128px;
    font-weight: bold;
    width: 100%;
    animation: fadeInUp 1.1s ease-out;
}

.additionally {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.additionally .social img {
    width: 60px !important;
    height: 60px !important;
}

.num{
    font-size: 56px;
}



.advantages{
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 80px;
}

.advantage-container{
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;

}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.advantage-item{
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
}

.advantage-item.animate {
    animation: fadeIn 1s ease-out both;
}

.advantage-item.animate:nth-child(1) { animation-delay: 0.2s; }
.advantage-item.animate:nth-child(2) { animation-delay: 0.4s; }
.advantage-item.animate:nth-child(3) { animation-delay: 0.6s; }
.advantage-item.animate:nth-child(4) { animation-delay: 0.8s; }

.adv-b {
    width: 2px;
    height: 300px;
    background-color: #A86C2E;
    opacity: 0;
}

.adv-b.animate {
    animation: fadeIn 1s ease-out both;
}

.adv-b.animate:nth-child(1) { animation-delay: 0.1s; }
.adv-b.animate:nth-child(2) { animation-delay: 0.3s; }
.adv-b.animate:nth-child(3) { animation-delay: 0.5s; }
.adv-b.animate:nth-child(4) { animation-delay: 0.7s; }
.adv-b.animate:nth-child(5) { animation-delay: 0.9s; }


.adv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    height: 220px;
}

.adv img{
    height: 140px;
    width: 140px;
    object-fit: cover;
    flex-shrink: 0;
}
.adv-text{
    font-size: 32px;
    font-weight: bold;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.inf-text {
    font-size: 28px;
    text-align: justify;
    max-width: 550px;
    font-weight: 500;
}

.inf {
    display: flex;
    height: 650px;
    width: 100%;
    max-width: none;
    margin: 0;
}

.inf img{
    width: 50%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    flex-grow: 0;
}

.inf-b{
    width: 50%;
    background-color: #C2986D;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    flex-shrink: 0;
    flex-grow: 0;
}


.reviews {
    padding: 80px 0;
}

.reviews-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-block {
    width: 50%;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
}

.map-block.animate {
    animation: fadeInUp 0.9s ease-out both;
    animation-delay: 0.1s;
}

.reviews-block {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
}

.reviews-block.animate {
    animation: fadeInUp 0.9s ease-out both;
    animation-delay: 0.3s;
}

.reviews-block h3 {
    font-size: 32px;
    font-weight: bold;
}

.review-item {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.review-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.review-text {
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-stars {
    font-size: 16px;
}

.services{
    display: flex;
    height: 500px;
    width: 100%;
    max-width: none;
    margin: 0;
}

.btn-container{
    background-color: #C2986D;
    display: flex;
    flex-direction: column;
    gap: 25PX;
    align-items: center;
    justify-content: center;
    width: 50%;
    flex-shrink: 0;
}

.services > img {
    width: 50%;
    min-width: 50%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    flex-grow: 0;
}

button{
    background-color: #3C3015;
    width: 450px !important;
    height: 50px !important;
    min-width: 450px;
    min-height: 50px;
    border-radius: 15px;
    color: white;
    cursor: pointer;
    border: none;
    flex-shrink: 0;
    font-size: 16px;
}

.description{
    max-width: 1920px;
    height: 960px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-container{
    display: flex;
    flex-direction: column;
    gap: 50PX;
    max-width: 1300px;
}

.des1 {
    opacity: 0;
}

.des1.animate {
    animation: fadeInLeft 0.9s ease-out both;
}

.des1.animate:nth-child(1) { animation-delay: 0.1s; }
.des1.animate:nth-child(2) { animation-delay: 0.25s; }
.des1.animate:nth-child(3) { animation-delay: 0.4s; }
.des1.animate:nth-child(4) { animation-delay: 0.55s; }
.des1.animate:nth-child(5) { animation-delay: 0.7s; }
.des1.animate:nth-child(6) { animation-delay: 0.85s; }

h1{
    font-size: 36px;
}

p1{
    font-size: 24px;
    font-weight: 400;
}

.footer{
    background-color: #0094BD;
    height: 400px
}

h2{
    text-align: center;
    font-size: 28px;
}
.footer-container{
    display: flex;
    gap: 170px;
    justify-content: center;
    align-items: stretch;
    padding-top: 40px;
}

.footer-item{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-item-title{
    font-size: 32px;
    color: white;
}

.social2{
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}
.social2 img {
    object-fit: contain;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.pay {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.pay img {
    object-fit: contain;
    flex-shrink: 0;
}

.pay-visa { width: 60px; height: auto; }
.pay-mastercard { width: 65px; height: auto; }
.pay-mir { width: 70px; height: auto; }
.pay-belcart { width: 55px; height: auto; }

.footer-item > :last-child {
    margin-top: auto;
}

button2 {
    background-color: #3C3015;
    width: 500px ;
    height: 50px ;
    border-radius: 15px;
    color: white;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.12s ease;
    user-select: none;
}

button2:active {
    transform: scale(0.96);
}

button3 {
    background-color: #3C3015;
    width: 500px ;
    height: 50px ;
    border-radius: 15px;
    color: white;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.12s ease;
    user-select: none;
}

button3:active {
    transform: scale(0.96);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background-color: white;
    width: 500px;
    min-height: auto;
    border-radius: 25px;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px 35px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    user-select: none;
    transition: color 0.15s;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 26px;
    font-weight: bold;
    color: #3C3015;
    text-align: center;
    margin-bottom: 5px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-form label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 5px;
}

.modal-form input {
    width: 100%;
    height: 45px;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.modal-form input:focus {
    border-color: #0094BD;
}

.modal-submit {
    margin-top: 15px;
    width: 100%;
    height: 50px;
    background-color: #0094BD;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.12s;
}

.modal-submit:hover {
    background-color: #007a9e;
}

.modal-submit:active {
    transform: scale(0.96);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    padding: 5px;
}
.burger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}


@media (max-width: 450px) {
    header {
        height: 60px;
    }
    .nav-bar {
        gap: 12px;
        padding: 0 10px;
        justify-content: space-between;
    }
    .burger {
        display: flex;
        order: 1;
    }
    .number {
        order: 2;
        width: auto;
        font-size: 13px;
        padding: 0 10px;
        height: 36px;
        line-height: 36px;
    }
    .nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #514D39;
        flex-direction: column;
        gap: 0;
        z-index: 1050;
        padding: 10px 0;
    }
    .nav.active {
        display: flex;
    }
    .nav a {
        padding: 14px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .social {
        order: 3;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .social img {
        width: 19px;
        height: 19px;
    }

    .main {
        height: auto;
        padding: 40px 15px 50px;
        gap: 25px;
        background-size: cover;
    }
    .title {
        font-size: 48px;
    }
    .additionally {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .num {
        font-size: 28px;
    }
    .additionally .social img {
        width: 36px !important;
        height: 36px !important;
    }

    .advantages {
        height: auto;
        padding: 30px 10px;
    }
    .advantage-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    .advantage-item {
        width: calc(50% - 20px);
        gap: 10px;
        flex-direction: column;
    }
    .advantage-item .adv-b {
        display: none;
    }
    .adv-b:last-child {
        display: none;
    }
    .adv img {
        width: 70px;
        height: 70px;
    }
    .adv-text {
        font-size: 18px;
        height: auto;
    }
    .adv {
        height: auto;
        gap: 8px;
    }

    .inf {
        flex-direction: column;
        height: auto;
    }
    .inf img {
        width: 100%;
        height: 300px;
    }
    .inf-b {
        width: 100%;
        padding: 30px 20px;
    }
    .inf-text {
        font-size: 16px;
        max-width: 100%;
    }

    .reviews {
        padding: 30px 10px;
    }
    .reviews-container {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }
    .reviews-block {
        width: 100%;
        order: 1;
    }
    .map-block {
        width: 100%;
        order: 2;
    }
    .reviews-block h3 {
        font-size: 22px;
    }

    .services {
        flex-direction: column;
        height: auto;
    }
    .btn-container {
        width: 100%;
        gap: 12px;
        padding: 25px 15px;
    }
    button {
        width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        font-size: 15px;
    }
    .services > img {
        width: 100%;
        height: 300px;
        min-width: 100%;
    }

    .description {
        height: auto;
        padding: 30px 0;
    }
    .text-container {
        padding: 0 15px;
        gap: 25px;
    }
    h1 {
        font-size: 20px;
    }
    p1 {
        font-size: 15px;
    }

    .footer {
        height: auto;
        padding: 25px 15px 30px;
    }
    h2 {
        font-size: 17px;
        padding: 0 5px;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
    }
    .footer-item-title {
        font-size: 18px;
    }
    button2 {
        width: 100%;
        font-size: 18px;
    }
    button3 {
        width: 100%;
        font-size: 18px;
    }
    .social2 {
        gap: 15px;
    }
    .social2 img {
        width: 30px;
        height: 30px;
    }
    .pay {
        gap: 10px;
    }
    .pay-visa { width: 40px; }
    .pay-mastercard { width: 44px; }
    .pay-mir { width: 48px; }
    .pay-belcart { width: 38px; }

    .modal {
        width: 90%;
        padding: 25px 20px;
    }
    .modal-title {
        font-size: 20px;
    }
    .modal-form input {
        height: 40px;
        font-size: 15px;
    }
    .modal-submit {
        height: 44px;
        font-size: 17px;
    }
}

@media (max-width: 300px) {
    header {
        height: 50px;
    }
    .nav-bar {
        gap: 6px;
        padding: 0 5px;
    }
    .burger span {
        width: 22px;
        height: 2px;
    }
    .number {
        font-size: 10px;
        padding: 0 6px;
        height: 30px;
        line-height: 30px;
        width: auto;
    }
    .nav a {
        padding: 12px 15px;
        font-size: 14px;
    }
    .social {
        gap: 4px;
    }
    .social img {
        width: 18px;
        height: 18px;
    }

    .main {
        padding: 30px 10px 40px;
        gap: 18px;
    }
    .title {
        font-size: 36px;
    }
    .num {
        font-size: 22px;
    }
    .additionally {
        gap: 12px;
    }
    .additionally .social img {
        width: 28px !important;
        height: 28px !important;
    }

    .advantages {
        padding: 25px 8px;
    }
    .advantage-container {
        gap: 12px;
    }
    .advantage-item {
        width: calc(50% - 12px);
    }
    .adv img {
        width: 55px;
        height: 55px;
    }
    .adv-text {
        font-size: 14px;
    }

    .inf-text {
        font-size: 14px;
    }
    .inf img {
        height: 220px;
    }
    .inf-b {
        padding: 20px 14px;
    }

    .reviews {
        padding: 25px 8px;
    }
    .reviews-block h3 {
        font-size: 18px;
    }
    .reviews-container {
        gap: 15px;
    }

    .btn-container {
        gap: 10px;
        padding: 20px 8px;
    }
    button {
        height: 40px !important;
        font-size: 13px;
    }
    .services > img {
        height: 220px;
    }

    h1 {
        font-size: 17px;
    }
    p1 {
        font-size: 13px;
    }
    .text-container {
        gap: 20px;
        padding: 0 10px;
    }

    .footer {
        padding: 20px 8px 25px;
    }
    h2 {
        font-size: 14px;
    }
    .footer-container {
        gap: 14px;
        padding-top: 15px;
    }
    .footer-item-title {
        font-size: 15px;
    }
    button2 {
        font-size: 14px;
        height: 40px;
    }
    button3 {
        font-size: 14px;
        height: 40px;
    }
    .social2 {
        gap: 10px;
    }
    .social2 img {
        width: 24px;
        height: 24px;
    }
    .pay {
        gap: 8px;
    }
    .pay-visa { width: 32px; }
    .pay-mastercard { width: 35px; }
    .pay-mir { width: 38px; }
    .pay-belcart { width: 30px; }

    .modal {
        width: 95%;
        padding: 20px 15px;
    }
    .modal-title {
        font-size: 18px;
    }
    .modal-form input {
        height: 36px;
        font-size: 14px;
    }
    .modal-submit {
        height: 40px;
        font-size: 15px;
    }
}

@media (min-width: 451px) and (max-width: 960px) {
    header {
        height: 65px;
    }
    .nav-bar {
        gap: 20px;
        padding: 0 15px;
        justify-content: space-between;
    }
    .burger {
        display: flex;
        order: 1;
    }
    .number {
        order: 2;
        width: auto;
        font-size: 15px;
        padding: 0 12px;
        height: 40px;
        line-height: 40px;
    }
    .nav {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: #514D39;
        flex-direction: column;
        gap: 0;
        z-index: 1050;
        padding: 10px 0;
    }
    .nav.active {
        display: flex;
    }
    .nav a {
        padding: 16px 25px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .social {
        order: 3;
        gap: 14px;
    }
    .social img {
        width: 30px;
        height: 30px;
    }

    .main {
        height: auto;
        padding: 50px 20px 60px;
        gap: 30px;
        background-size: cover;
    }
    .title {
        font-size: 64px;
    }
    .additionally {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    .num {
        font-size: 36px;
    }
    .additionally .social img {
        width: 44px !important;
        height: 44px !important;
    }

    .advantages {
        height: auto;
        padding: 40px 15px;
    }
    .advantage-container {
        flex-wrap: wrap;
        gap: 30px;
    }
    .advantage-item {
        width: calc(50% - 30px);
        gap: 15px;
        flex-direction: column;
    }
    .advantage-item .adv-b {
        display: none;
    }
    .adv-b:last-child {
        display: none;
    }
    .adv img {
        width: 90px;
        height: 90px;
    }
    .adv-text {
        font-size: 22px;
        height: auto;
    }
    .adv {
        height: auto;
        gap: 10px;
    }

    .inf {
        flex-direction: column;
        height: auto;
    }
    .inf img {
        width: 100%;
        height: 350px;
    }
    .inf-b {
        width: 100%;
        padding: 35px 25px;
    }
    .inf-text {
        font-size: 19px;
        max-width: 100%;
    }

    .reviews {
        padding: 40px 15px;
    }
    .reviews-container {
        flex-direction: column;
        gap: 25px;
        padding: 0;
    }
    .reviews-block {
        width: 100%;
        order: 1;
    }
    .map-block {
        width: 100%;
        order: 2;
    }
    .reviews-block h3 {
        font-size: 26px;
    }

    .services {
        flex-direction: column;
        height: auto;
    }
    .btn-container {
        width: 100%;
        gap: 14px;
        padding: 30px 20px;
    }
    button {
        width: 70% !important;
        min-width: 0 !important;
        height: 46px !important;
        font-size: 16px;
    }
    .services > img {
        width: 100%;
        height: 350px;
        min-width: 100%;
    }

    .description {
        height: auto;
        padding: 40px 0;
    }
    .text-container {
        padding: 0 20px;
        gap: 30px;
    }
    h1 {
        font-size: 24px;
    }
    p1 {
        font-size: 17px;
    }

    .footer {
        height: auto;
        padding: 30px 20px 35px;
    }
    h2 {
        font-size: 20px;
        padding: 0 10px;
    }
    .footer-container {
        gap: 40px;
        padding-top: 25px;
        flex-wrap: wrap;
    }
    .footer-item-title {
        font-size: 22px;
    }
    button2 {
        width: 350px;
        font-size: 20px;
    }
    button3 {
        width: 350px;
        font-size: 20px;
    }
    .social2 {
        gap: 20px;
    }
    .social2 img {
        width: 34px;
        height: 34px;
    }

    .modal {
        width: 85%;
    }
}

@media (min-width: 961px) and (max-width: 1200px) {
    .burger {
        display: none;
    }
    .nav-bar {
        gap: 60px;
        padding: 0 20px;
    }
    .number {
        width: 170px;
        font-size: 16px;
    }
    .nav {
        gap: 25px;
    }
    .nav a {
        font-size: 16px;
    }
    .social img {
        width: 26px;
        height: 26px;
    }

    .main {
        height: 600px;
        padding-top: 50px;
        gap: 40px;
    }
    .title {
        font-size: 100px;
    }
    .num {
        font-size: 42px;
    }
    .additionally {
        gap: 60px;
    }
    .additionally .social img {
        width: 50px !important;
        height: 50px !important;
    }

    .advantages {
        height: auto;
        padding: 50px 10px;
    }
    .advantage-container {
        gap: 40px;
    }
    .adv img {
        width: 110px;
        height: 110px;
    }
    .adv-text {
        font-size: 26px;
    }

    .inf {
        height: 550px;
    }
    .inf-text {
        font-size: 22px;
    }

    .reviews {
        padding: 60px 15px;
    }
    .reviews-container {
        gap: 25px;
    }

    button {
        width: 350px !important;
        min-width: 350px !important;
        font-size: 15px;
    }
    .services {
        height: 440px;
    }

    .text-container {
        padding-left: 40px;
        padding-top: 50px;
        gap: 35px;
    }
    h1 {
        font-size: 28px;
    }
    p1 {
        font-size: 19px;
    }
    .description {
        height: auto;
        padding: 50px 0;
    }

    .footer {
        height: auto;
        padding: 30px 20px 35px;
    }
    h2 {
        font-size: 22px;
    }
    .footer-container {
        gap: 80px;
    }
    .footer-item-title {
        font-size: 24px;
    }
    button2 {
        width: 400px;
        font-size: 20px;
    }
    button3 {
        width: 400px;
        font-size: 20px;
    }

    .modal {
        width: 480px;
    }
}
